package com.example.permissionsystem1_1.businessFunction.dao.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.permissionsystem1_1.common.entity.BasePo;
import lombok.Data;

import java.util.List;


@Data
@TableName("user_role")
public class UserRolePo extends BasePo<UserRolePo> {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 角色id
     */
    private Long roleId;


    private List<Long> roleIds;

    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private String roleCode;
    @TableField(exist = false)
    private String roleDesc;
    @TableField(exist = false)
    private String roleState;

    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String userPassword;
    @TableField(exist = false)
    private Integer userAge;
    @TableField(exist = false)
    private String userRealname;
    @TableField(exist = false)
    private String userState;

}
